package com.uzai.console.service.cms;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.uzai.console.dto.cms.tbgoods.CmsMerTbGoodsInfoDto;
import com.uzai.console.dto.cms.tbgoods.CmsMerTbGoodsInfoListDto;
import com.uzai.console.dto.cms.tbgoods.CmsMerTbGoodsQuery;
import com.uzai.console.dto.cms.tbgoods.CmsTbGoodsQuery;
import com.uzai.console.vo.cms.tbgoods.CmsMerTbGoodsInfoVo;
import com.uzai.console.vo.cms.tbgoods.CmsTbGoodsFirstTypeVo;
import com.uzai.console.vo.cms.tbgoods.CmsTbGoodsInfoQueryResultVo;
import com.uzai.console.vo.cms.tbgoods.CmsTbGoodsInfoVo;
import org.springframework.scheduling.annotation.Async;

import java.util.List;

/**
 * @author liuqi
 * @date 2021年08月13日 11:33
 */
public interface CmsTbGoodsService {

    /**
     * 分页查询CMS运营商配置的淘宝活动列表
     * @author liuqi
     * @date 2021/8/13 11:38
     * @return CmsTbGoodsInfoVo
     */
    Page<CmsMerTbGoodsInfoVo> findCmsMerTbGoodsList(CmsMerTbGoodsQuery cmsMerTbGoodsQuery);

    /**
     * 超级查询官方大淘客淘宝商品列表
     * @author liuqi
     * @date 2021/8/13 11:38
     * @return CmsTbGoodsInfoVo
     */
    CmsTbGoodsInfoQueryResultVo findCmsTbGoodsList_superSearch(CmsTbGoodsQuery cmsTbGoodsQuery);

    /**
     * 修改CMS运营商配置的淘宝活动信息
     * @author liuqi
     * @date 2021/8/13 11:38
     * @return null
     */
    void updateCmsMerTbGoods(CmsMerTbGoodsInfoListDto cmsMerTbGoodsInfoListDto);

    /**
     *查询官方大淘客淘宝商品一级类目列表
     * @author liuqi
     * @date 2021/8/13 11:38
     * @return CmsTbGoodsInfoVo
     */
    List<CmsTbGoodsFirstTypeVo> findCmsTbGoodsFirstTypeList();

    /**
     * 分类查询官方大淘客淘宝商品列表
     * @author liuqi
     * @date 2021/8/13 11:38
     * @return CmsTbGoodsInfoVo
     */
    CmsTbGoodsInfoQueryResultVo findCmsTbGoodsList_typeSearch(CmsTbGoodsQuery cmsTbGoodsQuery);

    /**
     * 查询官方大淘客商品详情
     * @author liuqi
     * @date 2021/8/13 11:38
     * @return CmsTbGoodsInfoVo
     */
    CmsTbGoodsInfoVo findCmsTbGoodsInfo(CmsTbGoodsQuery cmsTbGoodsQuery);

}
